package com.family.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ComponentScan("com.family")//包扫描
@PropertySource("classpath:jdbc.properties")//@PropertySource：加载类路径jdbc.properties文件
@Import({JdbcConfig.class,MybatisConfig.class})
public class SpringConfig { }
